package com.sky.service;


import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;


public interface DishService {
    void add(DishDTO dishDTO);

    PageResult<DishVO> page(DishPageQueryDTO pageQueryDTO);

    Dish getDishById(Long id);

    void deleteBatches(List<Long> ids);

    DishVO getDishByIdWithFlavors(Long id);

    void update(DishDTO dishDTO);

    void updateStatus(Long id, Integer status);

    List<Dish> getDishesByCategoryId(Long categoryId);

    List<DishVO> getDishesWithFlavorsByCategoryId(Long categoryId);
}


